//
//  UITableView+Extension.swift
//  QingLiuSwift
//
//  Created by xyanl on 2023/8/14.
//

import UIKit

extension UITableView {
    
    func registerNib(_ nibName: String) {
        register(UINib.init(nibName: nibName, bundle: nil), forCellReuseIdentifier: nibName)
    }
    
    func registerClass(_ cellClass: AnyClass) {
        register(cellClass, forCellReuseIdentifier: String(describing: cellClass))
    }
    
}
